<!--  -->
<template>
  <div class="building">
    <img v-if="isNoData" src="@/assets/images/no-data.png" alt="" />
    <img v-else src="@/assets/images/building.png" alt="" />
    <div>{{ desc }}</div>
  </div>
</template>

<script>
export default {
  props: {
    isNoData: {
      type: Boolean,
      default: false
    },
    desc: {
      type: String,
      default: '功能建设中……'
    }
  }
}
</script>
<style lang="scss" scoped>
.building {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 70vh;
  font-size: 16px;
  color: #5066db;
}
</style>
